package com.safety.hat.service.hat.adapter;


import com.safety.hat.data.hat.HatHeartInfoBO;
import com.safety.hat.service.hat.IHatSocketService;

import javax.websocket.Session;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: lijun
 * @Date: 2020/5/25 上午11:42
 */
public interface IHatSocketLocationAdapterService<T> extends IHatSocketService<T> {


    /**
     * 获取所有信息
     */
    ConcurrentHashMap<String, List<HatHeartInfoBO>> getAllInfo();

    /**
     * 根据设备ID删除
     */
    void removeInfo(String deviceId);
}
